Ensures that exceptions (defined as any class name conforming to some regular expression) are immutable.

<p>
</p>
